package com.ophiux.micro.core.application;

public enum ResultEnum {
	/**
	 * 业务失败 （当前此编码无实际意义）
	 */
	requestFail("000","业务失败"),
	/**
	 * "100","请求成功"
	 */
	requestSuccess("100","请求成功"),
	/**
	 * "101","参数不合法"
	 */
	requestParamFail("101","参数格式不正确"),
	/**
	 * "102","服务异常"
	 */
	requestException("102","系统内部异常"),
	/**
	 * "103","未找到相关用户信息"
	 */
	NotFundUser("103","未找到相关用户信息"),
	/**
	 * "104","登录失败"
	 */
	LoginFail("104","登录失败"),
	/**
	 * "105","签名非法"
	 */
	SignFail("105","签名不正确"),
	/**
	 * "106","用户信息已存在"
	 */
	userAgin("106","用户信息已存在"),
	/**
	 * "107","用户信息已存在"
	 */
	registerFail("107","注册失败"),
	/**
	 * "108","非法Token"
	 */
	TokenFail("108","Token不正确"),
	
	/**
	 * "109","未找到记录信息"
	 */
	NotFoundRecord("109","未找到记录信息"),
	/**
	 * "110","未找到就诊人信息"
	 */
	NotFoundPatient("110","未找到就诊人信息"),
	
	/**
	 * "111","上传图片异常"
	 */
	UploadImgException("111","上传图片异常"),
	
	/**
	 * "112","密码错误"
	 */
	USER_PWD_ERROR("112","密码错误"),
	
	/**
	 * 未找到患者就诊方案记录
	 */
	NotFoundPATIENT_TREATMENT("113","未找到患者就诊方案记录"),
	
	/**
	 * 未找到医生信息
	 */
	NotFoundDoctorInfo("114","未找到医生信息"),
	
	/**
	 * 该患者已存在请勿重复添加
	 */
	PATIENT_EXIST("115","该患者已存在请勿重复添加"),
	
	/**
	 * 未找到方案信息
	 */
	NotFoundTreatment("116","未找到方案信息"),
	
	/**
	 * 请确认您是否为该院医生
	 */
	DoctorNotFindByHosp("117","您尚未参与热病诊疗一体化项目，无法注册。"),
	
	/**
	 * 该记录已完成请勿修改
	 */
	editSuccessFail("118","该记录已完成请勿修改"),
	
	/**
	 * 未找到该评论信息
	 */
	NotFoundTreatmentComment("119","未找到该评论信息"),
	
	/**
	 * 当前评论不能删除
	 */
	TreatmentCommentNotDel("120","当前评论不能删除"),
	
	/**
	 * 类型不匹配
	 */
	TypeNotExist("121","类型不匹配"),
	
	/**
	 * 第三方信息不存在
	 */
	ThityNotExist("122","第三方信息不存在"),
	;
	
	
	
	private String code;
	private String msg;
	public String getCode() {
		return code;
	}
	public String getMsg() {
		return msg;
	}
	private ResultEnum(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	
}
